{% extends 'web/base.html' %}
{% load static %}

{% block title %}二级页面模版{% endblock %}

{% block main %}
<div class="gk_main">
    <div class="container">
        {% block images_banner %}
        <div class="banner"><img src="/media/{% if plate.image %}{{ plate.image }}{% else %}{{ new.belong_plate.image }}{% endif %}" alt=""></div>
        {% endblock %}
        <div class="content">
            <div class="gk_dtl_list fl">
                <div class="tit_box">{{ fly.first.name }}</div>
                <ul>
                    {% for af in fly %}
                    {% if not forloop.first %}
                    <li><a href="{% url 'web:detail_page' af.id %}">{{ af.name }}</a></li>
                    {% endif %}
                    {% endfor %}
                </ul>
            </div>
            {% block content %}
            {% endblock %}
        </div>
    </div>
</div>
{% endblock %}